package cn.sczhyt.modules.szhy.dao;

import cn.sczhyt.modules.szhy.entity.MeetingEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 会议基本信息表
 * 
 * @author luoshijie
 * @email 1169414426@qq.com
 * @date 2020-09-03 10:22:11
 */
@Mapper
public interface MeetingDao extends BaseMapper<MeetingEntity> {

    IPage<MeetingEntity> findList(Page<MeetingEntity> pages,@Param("userId") String userId,@Param("mt") MeetingEntity meetingEntity);

    IPage<MeetingEntity> appFindList(Page<MeetingEntity> pages,@Param("userId") String userId,@Param("mt") MeetingEntity meetingEntity);

    IPage<MeetingEntity> appFindListByDelegation(Page<MeetingEntity> pages, @Param("array") List<String> userIds, @Param("mt") MeetingEntity meetingEntity);

    IPage<MeetingEntity> adminFindList(Page<MeetingEntity> pages, @Param("mt") MeetingEntity meetingEntity);
}
